using System;
using System.Windows.Forms;
using System.ComponentModel;
using System.Data.Common;

namespace Tilver.DBConnectionUI.Editors
{
    [ToolboxItem(false)]
    internal partial class GenericEditor : UserControl, IUDLEditor
	{
        public GenericEditor()
		{
			InitializeComponent();
        }

        #region IConnectionEditor Members

        public string ConnectionString
        {
            get
            {
                return txDataSource.Text;
            }
            set
            {
                txDataSource.Text = value;
            }
        }

        public void RefreshData()
        {
            return;
        }

        public object GetAdvancedPropertiesObject()
        {
            return txDataSource.Text;
        }

        #endregion
    }
}
